home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3891 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.5 KB  |  57 lines

  1. Newsgroups: comp.lang.c
  2. Path: cs.mun.ca!henry
  3. From: henry@cs.mun.ca (Henry Hum)
  4. Subject: wierd compiler error
  5. Message-ID: <1996Jan31.162834.25836@cs.mun.ca>
  6. Summary: wierd problem
  7. Keywords: gcc, multiply defined?
  8. Sender: usenet@cs.mun.ca (NNTP server account)
  9. Organization: CS Dept., Memorial University of Newfoundland
  10. X-Newsreader: NN version 6.4.19
  11. Date: Wed, 31 Jan 1996 16:28:34 GMT
  12.  
  13.  
  14. Hello:
  15.  
  16.     Has anyone encountered errors like this?
  17.  
  18. a.o: _MSG_lat_bin_min: multiply defined
  19. a.o: _MSG_del_bin_min: multiply defined
  20. a.o: _MSG_ddl_bin_min: multiply defined
  21. a.o: _MSG_lat_bin_smp: multiply defined
  22. a.o: _MSG_del_bin_smp: multiply defined
  23. a.o: _MSG_ddl_bin_smp: multiply defined
  24. a.o: _MSG_lat_bin_cnt: multiply defined
  25. a.o: _MSG_lat_bin_max: multiply defined
  26. a.o: _MSG_del_bin_max: multiply defined
  27. a.o: _MSG_ddl_bin_max: multiply defined
  28.  
  29.     where MSG_ddl_bin_max, MSG_ddl_bin_min, MSG_ddl_bin_del....
  30. are defined in my header file.
  31.  
  32.         and
  33.  
  34.     where the app did compile before without this error, but 
  35. dumped core when I tried to execute it.
  36.  
  37. Flags used were
  38.  
  39. CFLAGS = -g -Wall -ffixed-%l0 -ffixed-%l2 -D_NO_LONGLONG 
  40.               -D__USE_FIXED_PROTOTYPES__      
  41.  
  42.         This error started appearing after I commented out some
  43. definitions in two headers which are never called (I am cleaning up 
  44. code).  The headers are not called by other headers and I am 
  45. perplexed.  I am using gcc2.5.8 on a sparc2 clone running SunOS4.1.1.
  46.  
  47.     Observations appreciated.
  48.  
  49.     henry@maple.cs.mun.ca
  50.  
  51.  
  52. -- 
  53.  
  54.     Henry Hum       henry@garfield.cs.mun.ca
  55.  
  56. -----BEGIN PGP PUBLIC KEY BLOCK-----
  57.